short cState;
0 for off
kHyphManualOnly (1) for Manual Only
kHyphPlusDictionary (2) for Manual Plus Dictionary
kHyphPlusAlgorithm (3) for Manual Plus Algorithm
kParmDontCare (-2) for multiple settings
short nHyphenLimit;
Maximum number of consecutive hyphens
0 for No Limit
kParmDontCare for multiple settings
long xZone;
Hyphenation zoneDefining or editing a style. If you are defining or editing a style using the PStyleBegin command, PageMaker gets the hyphenation setting for that style, rather than for the selected text.
kParmDontCare for multiple settings
Pointer tool active. If the pointer tool is active, PageMaker gets the default hyphenation setting.
Multiple settings. If multiple paragraphs are selected and they have different hyphenation settings, PageMaker returns -2 for the parameters with conflicting settings.
To change the hyphenation settings, use the PHyphenation
command class.
PGetHyphenation hyphen;
if (hyphen.cState == 1) ...
Comments or suggestions? Contact Adobe Developer Support